package com.ddwl.schema.vo.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * (OrderPayoffFlow)返回对象
 *
 * @author zach
 * @since 2020-07-24 10:20:30
 */
@Getter
@Setter
@ApiModel(value = "订单结算流水")
public class OrderPayoffFlowVo {

    @ApiModelProperty(value = "id")     
    private String id;

    @ApiModelProperty(value = "订单id")     
    private String orderId;

    @ApiModelProperty(value = "结算id")     
    private String payoffId;

    @ApiModelProperty(value = "分销用户ID")     
    private String userId;

    @ApiModelProperty(value = "订单金额")     
    private String orderAmount;

    @ApiModelProperty(value = "分润金额")     
    private BigDecimal profitAmount;

    @ApiModelProperty(value = "用户佣金")     
    private BigDecimal userAmount;

    @ApiModelProperty(value = "代理佣金")     
    private BigDecimal distAmount;

    @ApiModelProperty(value = "区域佣金")     
    private BigDecimal regionAmount;

    @ApiModelProperty(value = "结算状态(0未结算，10结算中，20结算成功，30结算失败)")     
    private Integer payoffStatus;

    @ApiModelProperty(value = "结算时间")     
    private Instant payoffTime;

    @ApiModelProperty(value = "创建时间")
    private Instant gmtCreated;

    @ApiModelProperty(value = "修改时间")     
    private Instant gmtModified;
}